<template>
  <!-- <Child :title="msg" :count="10" :flag="true"></Child>
  <button @click="changeMsg">点击按钮修改值</button> -->

  <child :items="[1,2,3,4,5]" :user="infor"></child>
  <!-- <child :items="array"></child> -->
  <!-- <button @click="changearray">点击修改数组</button> -->

   <!-- <child :user="infor"></child> -->
</template>

<script setup>
import { ref } from 'vue';
import Child from './Child.vue';
// let msg = ref("初始消息");
// const changeMsg = () => 
//     msg.value = "消息已更新";
// }

// let array = ref('[1,2,3,4]');
// const changearray = () => {
//     array.value = [5,6,7,8]
// }

let infor = {
    name:"姓名",
    num:'24090999',
    age:20
}

</script>

<style>

</style>